<table class="table-fixed w-full">
    <thead>
        <tr class="my-table-row bg-gray-200">
            <th class="w-12 my-table-cell">序号</th>
            <th class="w-32 my-table-cell">名称</th>
            <th class="w-32 my-table-cell">书记</th>
            <th class="w-32 my-table-cell">电话</th>
            <th class="w-32 my-table-cell">书记电话</th>
            <th class="w-20 my-table-cell">操作</th>
        </tr>
    </thead>
    <tbody>
        @for (item of currentPageData(); track item.sheQuID) {
        <tr>
            <td class="my-table-cell">
                <span>{{this.currentPageDataStartIndex() + $index +1}}</span>
            </td>
            <td class="my-table-cell">
                <span>{{item.mingCheng}}</span>
            </td>
            <td class="my-table-cell">
                <span>{{item.shuJi}}</span>
            </td>
            <td class="my-table-cell">
                <span>{{item.dianHua}}</span>
            </td>
            <td class="my-table-cell">
                <span>{{item.shuJiDianHua}}</span>
            </td>
            <td class="my-table-cell">
                <button class="btn btn-primary w-16 m-0.5" (click)="this.onEdit.emit(item)">修改</button>
                <button class="btn btn-secondary w-16 m-0.5" (click)="this.onDelete.emit(item)">删除</button>
            </td>
        </tr>
        }
    </tbody>
</table>